
public class Deom01 {
	public static void main(String[] args ) {
		int []a={1,2,3,4,5,6,7,8,9};
		int zuidaMax=zuida(a);
		System.out.println(zuidaMax);
	}
	public static int zuida(int []a ) {
		int max=a[0];
		for (int i=0;i<9;i++) {
			if (max<a[i]) {
				max=a[i];
			}
		}
		
		return max ;
	}
		

}
